.PHONY:all
all: chatclint chatsever

chatclint:ChatClint.cc
	g++ -o $@ $^ -std=c++17 -lpthread
chatsever:ChatSever.cc
	g++ -o $@ $^ -std=c++17 -lpthread

.PHONY:clean
clean:
	rm -f chatclint
	rm -f chatsever